<?php

abstract class AppController extends Controller {
    
    public function beforeFilter() {
        $this->set('menu', CategoryModel::children(null, array('menu'=>1)));
    }
}